import { _decorator, Component, Label, Node } from 'cc';
import { DialogViewID } from '../../components/DialogViewID';
import { DialogViewBase } from '../base/DialogViewBase';
const { ccclass, property } = _decorator;

@ccclass('TipsUI')
export class TipsUI extends DialogViewBase {
    protected _dialogViewID:DialogViewID = DialogViewID.tips;
    start() {
        this.startCloseTimer();
    }

    update(deltaTime: number) {
        
    }
    public setData(data?: any): void {
    }
    protected init(data?: any): void {
    }
    private startCloseTimer(): void {
        this.scheduleOnce(()=>{
            this.close();
        },2)
    }
}


